<?php

return [

    // ----------------------- 菜单配置 ----------------------- //
    'config' => [
        // 菜单配置
        'menu' => [
            'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
            'icon' => 'fa fa-user-circle-o',
        ],
        // 子模块配置
        'modules' => [
            // 机器人客服
            'robot' => [
                'class' => 'addons\CustomerService\merchant\modules\robot\Module',
            ],
            // 人工客服
            'artificial' => [
                'class' => 'addons\CustomerService\merchant\modules\artificial\Module',
            ],
            // 统计
            'statistics' => [
                'class' => 'addons\CustomerService\merchant\modules\statistics\Module',
            ],
        ],
    ],

    // ----------------------- 快捷入口 ----------------------- //

    'cover' => [

    ],

    // ----------------------- 菜单配置 ----------------------- //

    'menu' => [
		[
            'title' => '运营中心',
            'route' => 'console/index',
            'icon' => 'fa fa-desktop'
        ],
        [
            'title' => '机器客服',
            'route' => 'robot',
            'icon' => 'fa fa-android',
            'child' => [
                [
                    'title' => '问答管理',
                    'route' => 'robot/question/index',
                ],
                [
                    'title' => '配置',
                    'route' => 'robot/setting/index',
                ],
            ]
        ],
    ],

    // ----------------------- 权限配置 ----------------------- //

    'authItem' => [
        [
            'title' => '所有权限',
            'name' => '*',
        ],
    ],
];